package com.zdft.promotion.common.dao;

/**
 * DAO类名命名空间实现
 */
public class DAOClassNamePolicy implements INamespacePolicy
{
    private Class<?> clazz;

    public DAOClassNamePolicy(Class<?> clazz)
    {
        this.clazz = clazz;
    }

    @Override
    public String namespace()
    {
        return clazz.getName();
    }
}
